package com.simulation.model;

public class DataPoint {
    private String pointName;
    private String dataType;
    private Integer precision;
    private String description;
    private String unit;
    private NormalRange normalRange;
    private Object initialValue;
    private SimulationScript simulationScript;
    private Integer simulationCycle;

    // Getters and Setters
    public String getPointName() {
        return pointName;
    }

    public void setPointName(String pointName) {
        this.pointName = pointName;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public Integer getPrecision() {
        return precision;
    }

    public void setPrecision(Integer precision) {
        this.precision = precision;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public NormalRange getNormalRange() {
        return normalRange;
    }

    public void setNormalRange(NormalRange normalRange) {
        this.normalRange = normalRange;
    }

    public Object getInitialValue() {
        return initialValue;
    }

    public void setInitialValue(Object initialValue) {
        this.initialValue = initialValue;
    }

    public SimulationScript getSimulationScript() {
        return simulationScript;
    }

    public void setSimulationScript(SimulationScript simulationScript) {
        this.simulationScript = simulationScript;
    }

    public Integer getSimulationCycle() {
        return simulationCycle;
    }

    public void setSimulationCycle(Integer simulationCycle) {
        this.simulationCycle = simulationCycle;
    }

    public static class NormalRange {
        private Double min;
        private Double max;

        public Double getMin() {
            return min;
        }

        public void setMin(Double min) {
            this.min = min;
        }

        public Double getMax() {
            return max;
        }

        public void setMax(Double max) {
            this.max = max;
        }
    }

    public static class SimulationScript {
        private String language;
        private String normalScript;
        private String abnormalScript;

        public String getLanguage() {
            return language;
        }

        public void setLanguage(String language) {
            this.language = language;
        }

        public String getNormalScript() {
            return normalScript;
        }

        public void setNormalScript(String normalScript) {
            this.normalScript = normalScript;
        }

        public String getAbnormalScript() {
            return abnormalScript;
        }

        public void setAbnormalScript(String abnormalScript) {
            this.abnormalScript = abnormalScript;
        }
    }
} 